import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {OrdRefundComponent} from './ord-refund.component';

const routes: Routes = [
    {path: '', component: OrdRefundComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-ord-refund/add-ord-refund.module#AddOrdRefundModule'},
            {path: 'list', loadChildren: './list-ord-refund/list-ord-refund.module#ListOrdRefundModule'},
            {path: 'modify', loadChildren: './modify-ord-refund/modify-ord-refund.module#ModifyOrdRefundModule'},
            {path: 'report', loadChildren: './report-ord-refund/report-ord-refund.module#ReportOrdRefundModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class OrdRefundRoutingModule {
}
